import Vue from 'vue';
import VueRouter from 'vue-router';
import show from '../views/show.vue';

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        redirect: '/show'
    },
    {
        path: '/show',
        name: '计数',
        component: show
    }
];

const router = new VueRouter({
    routes
});

export default router;
